#!/bin/bash

./standalone_cc2640r2f_tools.sh -appbuild
if [ $? -eq 0 ]; then
	#python3 ble_oad.py "10:20:00:00:00:62" "../simple_peripheral_cc2640r2lp_oad_offchip_app/FlashROM/FlashROM_oad.bin"
	#python3 ble_oad.py "00:10:00:04:14:41" "../simple_peripheral_cc2640r2lp_oad_offchip_app/FlashROM/simple_peripheral_cc2640r2lp_oad_offchip_app_FlashROM_oad.bin"
	python3 ble_oad.py "98:99:66:66:99:99" "../simple_peripheral_cc2640r2lp_oad_offchip_app/FlashROM/FlashROM_oad.bin"
else
	echo build failed
fi



